package com.wx.qiqiai.service;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import lombok.RequiredArgsConstructor;
import me.chanjar.weixin.mp.api.impl.WxMpServiceImpl;
import me.chanjar.weixin.mp.config.WxMpConfigStorage;

/**
 * 微信服务类
 * 
 * @author zhugh
 * @date 2023/04/04 21:34
 **/
@Service
@RequiredArgsConstructor
public class WeiXinService extends WxMpServiceImpl {
    @Autowired
    private WxMpConfigStorage wxMpConfigStorage;

    @PostConstruct
    public void init() {
        super.setWxMpConfigStorage(wxMpConfigStorage);
    }
}
